<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {% block title %}
        {% if title %}
            <title>{{ title }}</title>
        {% else %}
            <title>title未设置</title>
        {% endif %}
    {% endblock %}
    <link rel="stylesheet" href="../static/bootstrap-3.4.1/css/bootstrap.min.css">
</head>
<body>
{% for message in get_flashed_messages() %}
    <div class="alert alert-info">
        <button type="button" class="close" data-dismiss="alert">&times;</button>
        {{ message }}
    </div>
{% endfor %}
<main class="container">
    <header>
        <h2 class="text-center"><a href="{{ url_for('index') }}" class="text-success"><strong>Leaving Messages</strong></a>
        </h2>
    </header>
    {% block content %}

    {% endblock %}

    {% block msgs_list %}

    {% endblock %}
</main>

</body>
</html>